﻿using System.Web;
using System.Web.Optimization;

namespace RXY_Mall.AdminApi
{
    public class BundleConfig
    {
        // 有关绑定的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/adminlte/bootstrap/css").Include(
                "~/Content/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css",
                "~/Content/adminlte/plugins/jvectormap/jquery-jvectormap-1.2.2.css",
                "~/Content/adminlte/dist/css/AdminLTE.min.css",
                "~/Content/adminlte/dist/css/skins/skin-blue.min.css"));

            bundles.Add(new ScriptBundle("~/bundles/adminlte").Include(
                "~/Content/adminlte/plugins/jQuery/jquery-2.2.3.min.js",
                "~/Content/adminlte/bower_components/bootstrap/dist/js/bootstrap.min.js",
                "~/Content/adminlte/dist/js/app.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/adminlte/js").Include(
                "~/Content/adminlte/dist/js/raphael-min.js",
                "~/Content/adminlte/plugins/morris/morris.min.js",
                "~/Content/adminlte/plugins/sparkline/jquery.sparkline.min.js",
                "~/Content/adminlte/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js",
                "~/Content/adminlte/plugins/jvectormap/jquery-jvectormap-world-mill-en.js",
                "~/Content/adminlte/plugins/knob/jquery.knob.js",
                "~/Content/adminlte/dist/js/moment.min.js",
                "~/Content/adminlte/plugins/daterangepicker/daterangepicker.js",
                "~/Content/adminlte/plugins/datepicker/bootstrap-datepicker.js",
                "~/Content/adminlte/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js",
                "~/Content/adminlte/plugins/slimScroll/jquery.slimscroll.min.js",
                "~/Content/adminlte/plugins/fastclick/fastclick.js",
                "~/Content/adminlte/dist/js/pages/dashboard.js",
                "~/Content/adminlte/dist/js/demo.js"));

            bundles.Add(new StyleBundle("~/Content/adminlte/css").Include(
                "~/Content/adminlte/plugins/iCheck/flat/blue.css",
                "~/Content/adminlte/plugins/morris/morris.css",
                "~/Content/adminlte/plugins/jvectormap/jquery-jvectormap-1.2.2.css",
                "~/Content/adminlte/plugins/datepicker/datepicker3.css",
                "~/Content/adminlte/plugins/daterangepicker/daterangepicker.css",
                "~/Content/adminlte/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css"));
        }
    }
}
